html{
  background-color: #f5f5f5;
}
body{
  background-color: #f5f5f5;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
}
a{
    text-decoration:none;
}
a:link{
    text-decoration:none;
}
a:visited{
    text-decoration:none;
}
a:hover{
    text-decoration:none;
}
a:active{
    text-decoration:none;
}

ul li{
    list-style: none;
    text-decoration:none;
}

header{
  text-align: center;
  height: 44px;
  width: 100%;
  line-height: 44px;
  background-color: #ea4f55;
  color: #fff;
  font-size: 18px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
#nav-button{
  background-color: #ea4f55;
  color: #fff;
  height: 100%;
  width: 1.4rem;
  border: none;
  position: absolute;
  top:0;
  left: 0;
}
#nav{
  width: 2rem;
  position: fixed;
  top: 44px;
  left: 0;
  z-index: 999;
  color: #fff;
  text-align: center;
  display: none;
}
#nav::after{
  content: '';
  background-color: #000;
  position:absolute;
  top:0;
  left:0;
  z-index: -1;
  filter:alpha(opacity=80);
  -moz-opacity:0.8;
  opacity:0.8;
  width: 100%;
  height: 100%;
}
#nav a{
  color: #fff;
  text-decoration:none;
}
#nav li{
  padding: 0.2rem;
}
#content{
  margin: 50px auto;
  width: 10rem;
  overflow: hidden;
}
#content ul{
  margin: 0 auto;
}
#content ul li{
  float: left;
  width: 4.95rem;
  height: 4.95rem;
  overflow: hidden;
  margin-bottom: 0.1rem;
}
#content ul::after{
  content: '';
  clear: both;
  display:block;
}

.fruit-list{
  position: relative;
  width: 100%;
  height: 100%;
}
.fruit-list a{
  display: block;
  height: 4.95rem;
  width: 100%;
}
.fruit-list img{
  width: 100%;
  height: 100%;
}
.fruit-info{
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  zoom:1;
  position:absolute;
  z-index: 0;
  height: 0.8rem;
}
.fruit-info::after{
  content: '';
  background-color: #000;
  position:absolute;
  top:0;
  left:0;
  z-index: -1;
  filter:alpha(opacity=40);
  -moz-opacity:0.4;
  opacity:0.4;
  width: 100%;
  height: 100%;
}
.fruit-title {
  float: left;
  width: 3.6rem;
  height: 0.8rem;
  padding: 0 0 0 0.106rem;
  overflow: hidden;
  line-height: 0.8rem;
  font-size: 12px;
}

.small{
  font-size: 0.1rem;
}

.fruit-cart-action{
  width: 100%;
  height: 100%;
}

.fruit-cart{
  float: right;
  border: 1px solid #ea4f55;
  -webkit-border-radius:50%;
  border-radius:50%;
  -moz-border-radius:50%;
  background-color:#ea4f55;
  width: 0.8rem;
  height: 100%;
  line-height: 100%;
  text-align: center;
  color: #fff;
  font-size: 18px;
}

.price{
  position: absolute;
  z-index: 0;
  bottom: 0.9rem;
  left: 0;
  padding: 0.1rem;
  font-size: 8px;
  color: #fff;
}

.price::after{
  content: '';
  background-color: #000;
  position:absolute;
  top:0;
  left:0;
  z-index: -1;
  filter:alpha(opacity=50);
  -moz-opacity:0.5;
  opacity:0.5;
  width: 100%;
  height: 100%;
}

.buy-num{
  position: absolute;
  right: 0;
  top: 0.2rem;
  padding: 0.1rem 0.2rem;
  text-align: center;
  color: #fff;
  z-index: 0;
  font-size: 12px;
}
.buy-num::after{
    content: '';
    background-color: #ea4f55;
    position:absolute;
    top:0;
    left:0;
    z-index: -1;
    filter:alpha(opacity=80);
    -moz-opacity:0.8;
    opacity:0.8;
    width: 100%;
    height: 100%;
}

footer{
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 44px;
    width: 100%;
    background-color: #ea4f55;
    display: flex;
    justify-content: space-between;
}
footer button{
  border: 1px solid #ea4f55;
  -webkit-border-radius:50%;
  border-radius:50%;
  -moz-border-radius:50%;
  background-color:#ea4f55;
  width: 2.367rem;
  height: 100%;
  line-height: 100%;
  text-align: center;
  color: #fff;
  font-size: 24px;
}

.ml2{
  margin-left: 0.1rem
}

.dn{
  display: none;
}
.db{
  display: block;
}

.bottom-line{
    border-bottom: 1px solid #f5f5f5;
}
